#ifndef DLMEMQUEUE_H_
#define DLMEMQUEUE_H_

#include <assert.h>
#include "FastQueue.hh"
#include <lagniappe/RCon.h>

class dlMemQueue
{
 private:
  FastQueue<lagniappe::RCon *> coreQueue;
 public:
  void push(lagniappe::RCon * rc) {assert(rc != NULL); coreQueue.enqueue(rc);}
  lagniappe::RCon * pop() {lagniappe::RCon * rc = coreQueue.dequeue(); return rc;}
};

#endif // DLMEMQUEUE_H_
